package com.hibase.core.interfacetask.entity.vo;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 接口任务表
 * </p>
 *
 * @author zhou_jw
 * @since 2020-08-21
 */
@Data
@ApiModel(value="MdsInterfaceTaskViewVO对象", description="接口任务表详情VO")
public class MdsInterfaceTaskViewVO {


    @ApiModelProperty(value = "发送方")
    private String senderSys;

    @ApiModelProperty(value = "接收方")
    private String receiverSys;

    @ApiModelProperty(value = "业务类型")
    private String businessType;

    @ApiModelProperty(value = "业务单Id")
    private String businessId;

    @ApiModelProperty(value = "业务单号")
    private String businessCode;

    @ApiModelProperty(value = "接口业务类型code")
    private String businessTypeCode;

    @ApiModelProperty(value = "请求报文")
    private String requestData;

    @ApiModelProperty(value = "响应报文")
    private String responseData;

    @ApiModelProperty(value = "处理状态 ready：准备 success：成功 fail：失败 notload : 未装载 loadfail : 装载失败")
    private String dealStatus;

    @ApiModelProperty(value = "重试次数")
    private Integer retryCount;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @ApiModelProperty(value = "最新执行时间")
    private Date execTime;

    @ApiModelProperty(value = "关联type表id")
    private String interfaceTypeId;

    @ApiModelProperty(value = "备注")
    private String remarks;

}
